
    <!DOCTYPE html>
    <html>
    <head>
        <title>BAAH任务数据报告 - 蔚蓝档案主题</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <style>
            /* 《蔚蓝档案》主题CSS变量定义 */
            :root {
                /* 主色调 - 基于蔚蓝档案的清新明亮风格 */
                --ba-primary-blue: #4fc3f7;
                --ba-primary-blue-light: #e1f5fe;
                --ba-primary-blue-dark: #0288d1;
                
                /* 辅助色 - 体现透明感和青春活力 */
                --ba-accent-yellow: #fff9c4;
                --ba-accent-pink: #f8bbd9;
                --ba-accent-green: #c8e6c9;
                
                /* 中性色 - 简洁干净的基础色调 */
                --ba-white: #ffffff;
                --ba-gray-light: #f5f5f5;
                --ba-gray: #e0e0e0;
                --ba-gray-dark: #616161;
                --ba-black: #212121;
                
                /* 语义色 */
                --ba-positive: #4caf50;
                --ba-negative: #f44336;
                --ba-warning: #ff9800;
                
                /* 字体 */
                --ba-font-primary: "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Meiryo UI", sans-serif;
                
                /* 阴影效果 - 轻微提升层次感 */
                --ba-shadow-light: 0 2px 4px rgba(0, 140, 186, 0.1);
                --ba-shadow-medium: 0 4px 8px rgba(0, 140, 186, 0.15);
                --ba-shadow-large: 0 8px 16px rgba(0, 140, 186, 0.2);
                
                /* 圆角 */
                --ba-border-radius-small: 8px;
                --ba-border-radius-medium: 12px;
                --ba-border-radius-large: 16px;
                
                /* 透明度效果 - 体现透明感 */
                --ba-transparency-light: rgba(255, 255, 255, 0.7);
                --ba-transparency-medium: rgba(255, 255, 255, 0.5);
                
                /* 布局变量 */
                --sidebar-width: 280px;
                --sidebar-collapsed: 70px;
            }

            /* 基础样式重置 */
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            body {
                font-family: var(--ba-font-primary);
                background: linear-gradient(135deg, var(--ba-primary-blue-light) 0%, #e0f7fa 100%);
                color: var(--ba-black);
                line-height: 1.6;
                min-height: 100vh;
            }

            .app-container {
                display: flex;
                min-height: 100vh;
            }

            /* 侧边栏样式 - 蔚蓝档案主题 */
            .sidebar {
                width: var(--sidebar-width);
                background: linear-gradient(180deg, var(--ba-primary-blue) 0%, var(--ba-primary-blue-dark) 100%);
                color: var(--ba-white);
                transition: all 0.3s ease;
                box-shadow: var(--ba-shadow-large);
                z-index: 1000;
                overflow-y: auto;
                backdrop-filter: blur(10px);
            }

            .sidebar-header {
                padding: 25px 20px;
                text-align: center;
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
                background: rgba(255, 255, 255, 0.1);
            }

            .sidebar-header h2 {
                font-size: 1.4rem;
                font-weight: 700;
                color: var(--ba-white);
                text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

            .sidebar-menu {
                list-style: none;
                padding: 20px 0;
            }

            .sidebar-menu li {
                margin: 8px 0;
            }

            .sidebar-menu a {
                display: flex;
                align-items: center;
                padding: 16px 25px;
                color: var(--ba-white);
                text-decoration: none;
                transition: all 0.3s ease;
                border-left: 4px solid transparent;
                background: rgba(255, 255, 255, 0.05);
                margin: 0 15px;
                border-radius: var(--ba-border-radius-small);
                font-weight: 500;
            }

            .sidebar-menu a:hover {
                background: rgba(255, 255, 255, 0.15);
                border-left-color: var(--ba-accent-yellow);
                transform: translateX(5px);
            }

            .sidebar-menu a.active {
                background: rgba(255, 255, 255, 0.2);
                border-left-color: var(--ba-accent-yellow);
                font-weight: 600;
                box-shadow: var(--ba-shadow-light);
            }

            .sidebar-menu i {
                margin-right: 15px;
                font-size: 1.2rem;
                width: 24px;
                text-align: center;
            }

            /* 主内容区域 */
            .main-content {
                flex: 1;
                padding: 25px;
                overflow-y: auto;
                transition: all 0.3s ease;
            }

            .section {
                display: none;
            }

            .section.active {
                display: block;
            }

            /* 卡片组件 - 体现简洁和透明感 */
            .ba-card {
                background: var(--ba-transparency-light);
                backdrop-filter: blur(10px);
                border-radius: var(--ba-border-radius-medium);
                padding: 25px;
                margin-bottom: 25px;
                box-shadow: var(--ba-shadow-light);
                border: 1px solid rgba(255, 255, 255, 0.5);
            }

            /* 标题样式 */
            .ba-heading {
                color: var(--ba-primary-blue-dark);
                margin-bottom: 20px;
                font-weight: 700;
            }

            .ba-heading--primary {
                font-size: 2.2rem;
                border-bottom: 3px solid var(--ba-primary-blue);
                padding-bottom: 15px;
                text-align: center;
            }

            .ba-heading--secondary {
                font-size: 1.6rem;
                border-left: 4px solid var(--ba-primary-blue);
                padding-left: 20px;
                margin-top: 30px;
                margin-bottom: 20px;
            }

            /* 按钮样式 - 体现青春活力 */
            .ba-button {
                display: inline-block;
                padding: 12px 24px;
                background: linear-gradient(135deg, var(--ba-primary-blue) 0%, var(--ba-primary-blue-dark) 100%);
                color: white;
                border: none;
                border-radius: 25px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s ease;
                box-shadow: var(--ba-shadow-light);
                text-align: center;
                text-decoration: none;
            }

            .ba-button:hover {
                transform: translateY(-2px);
                box-shadow: var(--ba-shadow-medium);
            }

            .date-filter {
                display: flex;
                gap: 12px;
                margin-bottom: 25px;
                justify-content: center;
                flex-wrap: wrap;
            }

            .date-filter button {
                padding: 12px 24px;
                background: transparent;
                border: 2px solid var(--ba-primary-blue);
                color: var(--ba-primary-blue-dark);
                border-radius: 25px;
                cursor: pointer;
                transition: all 0.3s ease;
                font-weight: 500;
            }

            .date-filter button:hover {
                background: var(--ba-primary-blue-light);
                transform: translateY(-2px);
            }

            .date-filter button.active {
                background: linear-gradient(135deg, var(--ba-primary-blue) 0%, var(--ba-primary-blue-dark) 100%);
                color: white;
                border-color: var(--ba-primary-blue);
                box-shadow: var(--ba-shadow-light);
            }

            /* 统计卡片网格 */
            .ba-stats-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 20px;
                margin-bottom: 30px;
            }

            .ba-stat-card {
                background: linear-gradient(135deg, var(--ba-primary-blue-light) 0%, #e1f5fe 100%);
                padding: 25px 20px;
                border-radius: var(--ba-border-radius-medium);
                text-align: center;
                border: 1px solid var(--ba-gray);
                backdrop-filter: blur(5px);
            }

            .ba-stat-value {
                font-size: 2rem;
                font-weight: 700;
                color: var(--ba-primary-blue-dark);
                margin-bottom: 8px;
                text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

            .ba-stat-label {
                font-size: 0.95rem;
                color: var(--ba-gray-dark);
                font-weight: 500;
            }

            /* 表格样式 - 优化固定表头 */
            .ba-table-container {
                overflow-x: auto;
                border-radius: var(--ba-border-radius-medium);
                box-shadow: var(--ba-shadow-light);
                background: var(--ba-white);
                margin-top: 20px;
                max-height: 600px;
                overflow-y: auto;
                position: relative;
            }

            .ba-table {
                width: 100%;
                border-collapse: collapse;
                min-width: 800px;
            }

            .ba-table thead {
                position: sticky;
                top: 0;
                z-index: 10;
            }

            .ba-table th, .ba-table td {
                padding: 14px 16px;
                text-align: left;
                border-bottom: 1px solid var(--ba-gray);
            }

            .ba-table th {
                background: linear-gradient(135deg, var(--ba-primary-blue) 0%, var(--ba-primary-blue-dark) 100%);
                color: white;
                font-weight: 600;
                font-size: 0.95rem;
            }

            .ba-table tr:nth-child(even) {
                background-color: var(--ba-primary-blue-light);
            }

            .ba-table tr:hover {
                background-color: #e1f5fe;
            }

            /* 颜色状态类 */
            .ba-positive {
                color: var(--ba-positive);
                font-weight: bold;
            }

            .ba-negative {
                color: var(--ba-negative);
                font-weight: bold;
            }

            .ba-warning {
                color: var(--ba-warning);
                font-weight: bold;
            }

            /* 响应式设计 */
            @media (max-width: 1024px) {
                .ba-stats-grid {
                    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                    gap: 15px;
                }
                
                .sidebar {
                    width: 250px;
                }
            }

            @media (max-width: 768px) {
                .app-container {
                    flex-direction: column;
                }
                
                .sidebar {
                    width: 100%;
                    height: auto;
                    position: fixed;
                    transform: translateX(-100%);
                    z-index: 1000;
                }
                
                .sidebar.mobile-open {
                    transform: translateX(0);
                }
                
                .sidebar-menu {
                    display: flex;
                    overflow-x: auto;
                    padding: 15px;
                    flex-wrap: nowrap;
                }
                
                .sidebar-menu li {
                    flex: 0 0 auto;
                    margin: 0 8px;
                }
                
                .sidebar-menu a {
                    padding: 12px 20px;
                    border-radius: 20px;
                    border-left: none;
                    border-bottom: 3px solid transparent;
                    white-space: nowrap;
                }
                
                .sidebar-menu a.active {
                    border-left: none;
                    border-bottom: 3px solid var(--ba-accent-yellow);
                }
                
                .main-content {
                    padding: 20px 15px;
                    margin-top: 0;
                }
                
                .ba-heading--primary {
                    font-size: 1.8rem;
                }
                
                .ba-heading--secondary {
                    font-size: 1.4rem;
                }
                
                .ba-stats-grid {
                    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                    gap: 12px;
                }
                
                .ba-stat-value {
                    font-size: 1.6rem;
                }
                
                .ba-table-container {
                    max-height: 500px;
                }
            }

            @media (max-width: 480px) {
                .main-content {
                    padding: 15px 10px;
                }
                
                .ba-card {
                    padding: 20px 15px;
                }
                
                .ba-stats-grid {
                    grid-template-columns: 1fr 1fr;
                    gap: 10px;
                }
                
                .ba-stat-card {
                    padding: 20px 10px;
                }
                
                .ba-stat-value {
                    font-size: 1.4rem;
                }
                
                .date-filter {
                    gap: 8px;
                }
                
                .date-filter button {
                    padding: 10px 16px;
                    font-size: 0.9rem;
                }
                
                .ba-heading--primary {
                    font-size: 1.5rem;
                }
                
                .ba-table-container {
                    max-height: 400px;
                }
            }

            /* 手表等超小屏幕 */
            @media (max-width: 320px) {
                .ba-stats-grid {
                    grid-template-columns: 1fr;
                }
                
                .sidebar-menu a {
                    padding: 10px 15px;
                    font-size: 0.9rem;
                }
                
                .ba-heading--primary {
                    font-size: 1.3rem;
                }
            }

            /* 移动端菜单切换 */
            .mobile-menu-toggle {
                display: none;
                position: fixed;
                top: 15px;
                left: 15px;
                background: var(--ba-primary-blue);
                color: white;
                border: none;
                border-radius: 50%;
                padding: 12px;
                z-index: 1001;
                cursor: pointer;
                box-shadow: var(--ba-shadow-medium);
                transition: all 0.3s ease;
            }

            .mobile-menu-toggle:hover {
                background: var(--ba-primary-blue-dark);
                transform: scale(1.1);
            }

            @media (max-width: 768px) {
                .mobile-menu-toggle {
                    display: block;
                }
            }

            /* 信息提示样式 */
            .info-text {
                text-align: center;
                color: var(--ba-gray-dark);
                margin-bottom: 20px;
                font-size: 1rem;
            }

            /* 章节标题装饰 */
            .section-title {
                position: relative;
                padding-left: 20px;
                margin: 30px 0 25px 0;
            }

            .section-title::before {
                content: '';
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 6px;
                height: 30px;
                background: linear-gradient(135deg, var(--ba-primary-blue) 0%, var(--ba-primary-blue-dark) 100%);
                border-radius: 3px;
            }
        </style>
    </head>
    <body>
        <button class="mobile-menu-toggle" id="mobileMenuToggle">☰</button>
        
        <div class="app-container">
            <!-- 侧边栏 -->
            <nav class="sidebar" id="sidebar">
                <div class="sidebar-header">
                    <h2>📭BAAH任务报告📭</h2>
                </div>
                <ul class="sidebar-menu">
                    <li><a href="#stats" class="nav-link active" data-section="stats-section">
                        <i>💾</i>统计数据概览
                    </a></li>
                    <li><a href="#details" class="nav-link" data-section="details-section">
                        <i>🔎</i>每日详细数据
                    </a></li>
                    <li><a href="#weekly" class="nav-link" data-section="weekly-section">
                        <i>📚</i>周度分析报告
                    </a></li>
                    <li><a href="#monthly" class="nav-link" data-section="monthly-section">
                        <i>📒</i>月度分析报告
                    </a></li>
                </ul>
            </nav>
            
            <!-- 主内容区域 -->
            <main class="main-content">
                <!-- 统计数据部分 -->
                <section id="stats-section" class="section active">
                    <div class="ba-card">
                        <h1 class="ba-heading ba-heading--primary">BAAH任务数据报告</h1>
                        <div class="info-text">
                            <p>数据统计时间: 2025-12-04 03:30:41</p>
                            <p>数据范围: 最近一年 (共 80 天)</p>
                        </div>
                        
                        <div class="date-filter">
                            <button onclick="filterData('all')" class="active">全部数据</button>
                            <button onclick="filterData('week')">近一周</button>
                            <button onclick="filterData('month')">近一月</button>
                            <button onclick="filterData('year')">近一年</button>
                        </div>
                        
                        <div id="stats-container">
                            <h2 class="ba-heading--secondary">资源获取统计</h2>
                            <div class="ba-stats-grid">
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="total-days">80</div>
                                    <div class="ba-stat-label">总任务天数</div>
                                </div>
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="total-baah-diamond">15631</div>
                                    <div class="ba-stat-label">BAAH青辉石获得</div>
                                </div>
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="total-net-diamond">32267</div>
                                    <div class="ba-stat-label">净青辉石获得</div>
                                </div>
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="total-baah-credit">87237</div>
                                    <div class="ba-stat-label">BAAH信用点获得(万)</div>
                                </div>
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="total-net-credit">14548</div>
                                    <div class="ba-stat-label">净信用点获得(万)</div>
                                </div>
                            </div>
                            
                            <h2 class="ba-heading--secondary">日均数据统计</h2>
                            <div class="ba-stats-grid">
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="avg-baah-diamond">195.39</div>
                                    <div class="ba-stat-label">日均BAAH青辉石</div>
                                </div>
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="avg-net-diamond">403.34</div>
                                    <div class="ba-stat-label">日均净青辉石</div>
                                </div>
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="avg-baah-credit">1090</div>
                                    <div class="ba-stat-label">日均BAAH信用点(万)</div>
                                </div>
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="avg-net-credit">181</div>
                                    <div class="ba-stat-label">日均净信用点(万)</div>
                                </div>
                                <div class="ba-stat-card">
                                    <div class="ba-stat-value" id="avg-duration">32.71</div>
                                    <div class="ba-stat-label">平均任务时长(分钟)</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                
                <!-- 详细报告部分 -->
                <section id="details-section" class="section">
                    <div class="ba-card">
                        <h2 class="ba-heading ba-heading--primary">每日详细数据</h2>
                        <div class="ba-table-container">
                            <table class="ba-table" id="data-table">
                                <thead>
                                    <tr>
                                        <th>日期</th>
                                        <th>开始青辉石</th>
                                        <th>结束青辉石</th>
                                        <th>BAAH青辉石增益</th>
                                        <th>净青辉石增益</th>
                                        <th>开始信用点</th>
                                        <th>结束信用点</th>
                                        <th>BAAH信用点增益</th>
                                        <th>净信用点增益</th>
                                        <th>任务时长(分钟)</th>
                                    </tr>
                                </thead>
                                <tbody id="table-body">
                                    
                                    <tr>
                                        <td>2025-12-04</td>
                                        <td>71626</td>
                                        <td>71786</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">160</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">160</td>
                                        <td>988,095,704</td>
                                        <td>989,549,888</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,454,184</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,454,184</td>
                                        <td>29.47</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-12-03</td>
                                        <td>71176</td>
                                        <td>71626</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">450</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">450</td>
                                        <td>986,685,973</td>
                                        <td>988,095,704</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,409,731</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,409,731</td>
                                        <td>37.30</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-12-02</td>
                                        <td>71136</td>
                                        <td>71176</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>985,303,887</td>
                                        <td>986,685,973</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,382,086</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,382,086</td>
                                        <td>32.05</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-12-01</td>
                                        <td>69916</td>
                                        <td>71136</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">1220</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">1650</td>
                                        <td>983,983,191</td>
                                        <td>985,303,887</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,320,696</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">5,529,836</td>
                                        <td>30.52</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-30</td>
                                        <td>69446</td>
                                        <td>69486</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">1670</td>
                                        <td>978,427,198</td>
                                        <td>979,774,051</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,346,853</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">-28,514,436</td>
                                        <td>32.72</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-29</td>
                                        <td>67776</td>
                                        <td>67816</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>1,006,799,336</td>
                                        <td>1,008,288,487</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,489,151</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,489,151</td>
                                        <td>31.03</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-28</td>
                                        <td>67636</td>
                                        <td>67776</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td>1,005,432,033</td>
                                        <td>1,006,799,336</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,367,303</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,367,303</td>
                                        <td>30.95</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-27</td>
                                        <td>67476</td>
                                        <td>67636</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">160</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">160</td>
                                        <td>1,004,045,716</td>
                                        <td>1,005,432,033</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,386,317</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,386,317</td>
                                        <td>30.82</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-26</td>
                                        <td>67436</td>
                                        <td>67476</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>1,002,666,001</td>
                                        <td>1,004,045,716</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,379,715</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,379,715</td>
                                        <td>25.43</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-25</td>
                                        <td>67396</td>
                                        <td>67436</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>1,001,297,414</td>
                                        <td>1,002,666,001</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,368,587</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,368,587</td>
                                        <td>31.02</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-24</td>
                                        <td>67356</td>
                                        <td>67396</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>999,735,372</td>
                                        <td>1,001,297,414</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,562,042</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,562,042</td>
                                        <td>27.68</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-23</td>
                                        <td>67266</td>
                                        <td>67356</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">90</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">210</td>
                                        <td>998,179,083</td>
                                        <td>999,735,372</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,556,289</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">2,558,711</td>
                                        <td>30.47</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-22</td>
                                        <td>67106</td>
                                        <td>67146</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>995,473,153</td>
                                        <td>997,176,661</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,703,508</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,703,508</td>
                                        <td>34.42</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-21</td>
                                        <td>67066</td>
                                        <td>67106</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>993,925,642</td>
                                        <td>995,473,153</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,547,511</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,547,511</td>
                                        <td>38.17</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-20</td>
                                        <td>66906</td>
                                        <td>67066</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">160</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">160</td>
                                        <td>993,293,623</td>
                                        <td>993,925,642</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">632,019</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,577,487</td>
                                        <td>25.95</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-19</td>
                                        <td>66236</td>
                                        <td>66906</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">670</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">670</td>
                                        <td>990,144,347</td>
                                        <td>992,348,155</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">2,203,808</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">2,203,808</td>
                                        <td>55.87</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-18</td>
                                        <td>66096</td>
                                        <td>66236</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td>988,618,834</td>
                                        <td>990,144,347</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,525,513</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,525,513</td>
                                        <td>32.55</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-17</td>
                                        <td>66076</td>
                                        <td>66096</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">1430</td>
                                        <td>987,811,204</td>
                                        <td>988,618,834</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">807,630</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">40,087,135</td>
                                        <td>29.28</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-16</td>
                                        <td>64601</td>
                                        <td>64666</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">65</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">930</td>
                                        <td>948,086,825</td>
                                        <td>948,531,699</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">444,874</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">11,225,186</td>
                                        <td>23.28</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-15</td>
                                        <td>63696</td>
                                        <td>63736</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>935,612,579</td>
                                        <td>937,306,513</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,693,934</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,693,934</td>
                                        <td>30.77</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-14</td>
                                        <td>63456</td>
                                        <td>63696</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td>933,943,829</td>
                                        <td>935,612,579</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,668,750</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,668,750</td>
                                        <td>30.68</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-13</td>
                                        <td>63046</td>
                                        <td>63456</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">410</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">410</td>
                                        <td>932,314,251</td>
                                        <td>933,943,829</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,629,578</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,629,578</td>
                                        <td>31.18</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-12</td>
                                        <td>62806</td>
                                        <td>63046</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td>930,685,561</td>
                                        <td>932,314,251</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,628,690</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,628,690</td>
                                        <td>30.85</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-11</td>
                                        <td>62566</td>
                                        <td>62806</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td>929,999,161</td>
                                        <td>930,685,561</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">686,400</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,632,141</td>
                                        <td>24.00</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-10</td>
                                        <td>62321</td>
                                        <td>62566</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">245</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">245</td>
                                        <td>928,050,691</td>
                                        <td>929,053,420</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,002,729</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,002,729</td>
                                        <td>31.42</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-09</td>
                                        <td>61481</td>
                                        <td>62321</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">840</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">840</td>
                                        <td>927,593,309</td>
                                        <td>928,050,691</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">457,382</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,407,774</td>
                                        <td>25.40</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-08</td>
                                        <td>60961</td>
                                        <td>61481</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">520</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">1570</td>
                                        <td>925,582,461</td>
                                        <td>926,642,917</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,060,456</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">6,111,831</td>
                                        <td>34.55</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-07</td>
                                        <td>59451</td>
                                        <td>59911</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">460</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">460</td>
                                        <td>919,164,264</td>
                                        <td>920,531,086</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,366,822</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,366,822</td>
                                        <td>46.88</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-06</td>
                                        <td>59211</td>
                                        <td>59451</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td>917,782,807</td>
                                        <td>919,164,264</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,381,457</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,381,457</td>
                                        <td>33.35</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-05</td>
                                        <td>58981</td>
                                        <td>59211</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">230</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">230</td>
                                        <td>916,335,733</td>
                                        <td>917,782,807</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,447,074</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,447,074</td>
                                        <td>46.42</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-04</td>
                                        <td>58181</td>
                                        <td>58981</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">800</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">800</td>
                                        <td>913,880,959</td>
                                        <td>916,335,733</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">2,454,774</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">2,454,774</td>
                                        <td>56.28</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-03</td>
                                        <td>58011</td>
                                        <td>58181</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">170</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">720</td>
                                        <td>912,608,311</td>
                                        <td>913,880,959</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,272,648</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">5,432,648</td>
                                        <td>34.17</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-02</td>
                                        <td>57121</td>
                                        <td>57461</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">340</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">340</td>
                                        <td>907,022,294</td>
                                        <td>908,448,311</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,426,017</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,426,017</td>
                                        <td>29.38</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-01</td>
                                        <td>56881</td>
                                        <td>57121</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">240</td>
                                        <td>905,761,102</td>
                                        <td>907,022,294</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,261,192</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,261,192</td>
                                        <td>34.97</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-31</td>
                                        <td>56861</td>
                                        <td>56881</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">350</td>
                                        <td>904,468,611</td>
                                        <td>905,761,102</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,292,491</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">2,138,971</td>
                                        <td>26.37</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-30</td>
                                        <td>56371</td>
                                        <td>56531</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">160</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">160</td>
                                        <td>902,233,680</td>
                                        <td>903,622,131</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,388,451</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,388,451</td>
                                        <td>29.30</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-29</td>
                                        <td>56231</td>
                                        <td>56371</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td>900,897,466</td>
                                        <td>902,233,680</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,336,214</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,336,214</td>
                                        <td>28.10</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-28</td>
                                        <td>56191</td>
                                        <td>56231</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>900,395,939</td>
                                        <td>900,897,466</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">501,527</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,447,146</td>
                                        <td>24.15</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-27</td>
                                        <td>56151</td>
                                        <td>56191</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>898,083,352</td>
                                        <td>899,450,320</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,366,968</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,366,968</td>
                                        <td>31.02</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-26</td>
                                        <td>55917</td>
                                        <td>56151</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">234</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">660</td>
                                        <td>897,648,949</td>
                                        <td>898,083,352</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">434,403</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,371,556</td>
                                        <td>31.07</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-25</td>
                                        <td>54995</td>
                                        <td>55491</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">496</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">536</td>
                                        <td>896,375,342</td>
                                        <td>896,711,796</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">336,454</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,588,505</td>
                                        <td>22.75</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-24</td>
                                        <td>54669</td>
                                        <td>54955</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">286</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">286</td>
                                        <td>893,802,158</td>
                                        <td>895,123,291</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,321,133</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,321,133</td>
                                        <td>37.10</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-23</td>
                                        <td>54349</td>
                                        <td>54669</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">320</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">320</td>
                                        <td>892,443,133</td>
                                        <td>893,802,158</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,359,025</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,364,106</td>
                                        <td>33.32</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-22</td>
                                        <td>54175</td>
                                        <td>54349</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">174</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">234</td>
                                        <td>892,072,995</td>
                                        <td>892,438,052</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">365,057</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,148,506</td>
                                        <td>22.20</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-21</td>
                                        <td>53985</td>
                                        <td>54115</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">130</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">610</td>
                                        <td>889,974,195</td>
                                        <td>891,289,546</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,315,351</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,318,093</td>
                                        <td>37.48</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-20</td>
                                        <td>53465</td>
                                        <td>53505</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">925</td>
                                        <td>888,508,219</td>
                                        <td>889,971,453</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,463,234</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">15,388,133</td>
                                        <td>43.75</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-19</td>
                                        <td>52440</td>
                                        <td>52580</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">740</td>
                                        <td>873,343,431</td>
                                        <td>874,583,320</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,239,889</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">3,360,141</td>
                                        <td>31.60</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-18</td>
                                        <td>51800</td>
                                        <td>51840</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>869,744,042</td>
                                        <td>871,223,179</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,479,137</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,479,137</td>
                                        <td>39.70</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-17</td>
                                        <td>51760</td>
                                        <td>51800</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>868,423,193</td>
                                        <td>869,744,042</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,320,849</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,320,849</td>
                                        <td>39.37</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-16</td>
                                        <td>51580</td>
                                        <td>51760</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">180</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">180</td>
                                        <td>866,981,883</td>
                                        <td>868,423,193</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,441,310</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,441,310</td>
                                        <td>39.47</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-15</td>
                                        <td>51540</td>
                                        <td>51580</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>865,437,844</td>
                                        <td>866,981,883</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,544,039</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,544,039</td>
                                        <td>24.48</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-14</td>
                                        <td>50860</td>
                                        <td>51540</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">680</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">680</td>
                                        <td>864,131,775</td>
                                        <td>865,437,844</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,306,069</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,317,069</td>
                                        <td>73.08</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-13</td>
                                        <td>50822</td>
                                        <td>50860</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">38</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">38</td>
                                        <td>862,719,582</td>
                                        <td>864,120,775</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,401,193</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,449,032</td>
                                        <td>42.98</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-12</td>
                                        <td>50782</td>
                                        <td>50822</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>861,392,567</td>
                                        <td>862,671,743</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,279,176</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,279,176</td>
                                        <td>45.88</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-11</td>
                                        <td>50742</td>
                                        <td>50782</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">1040</td>
                                        <td>85,990,455</td>
                                        <td>861,392,567</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">775,402,112</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,488,012</td>
                                        <td>39.60</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-10</td>
                                        <td>49702</td>
                                        <td>49742</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>858,543,186</td>
                                        <td>859,904,555</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,361,369</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,361,369</td>
                                        <td>38.48</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-09</td>
                                        <td>48842</td>
                                        <td>49702</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">860</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">860</td>
                                        <td>858,121,198</td>
                                        <td>858,543,186</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">421,988</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,368,981</td>
                                        <td>37.53</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-08</td>
                                        <td>48802</td>
                                        <td>48842</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>855,784,464</td>
                                        <td>857,174,205</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,389,741</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,389,741</td>
                                        <td>40.05</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-07</td>
                                        <td>48762</td>
                                        <td>48802</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>854,391,000</td>
                                        <td>855,784,464</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,393,464</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,393,464</td>
                                        <td>40.65</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-06</td>
                                        <td>48122</td>
                                        <td>48762</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">640</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">640</td>
                                        <td>853,134,778</td>
                                        <td>854,391,000</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,256,222</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,256,222</td>
                                        <td>31.48</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-05</td>
                                        <td>48122</td>
                                        <td>48122</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">0</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>853,092,261</td>
                                        <td>853,134,778</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">42,517</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,530,915</td>
                                        <td>27.78</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-04</td>
                                        <td>47872</td>
                                        <td>48082</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">210</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">210</td>
                                        <td>850,202,481</td>
                                        <td>851,603,863</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,401,382</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,401,382</td>
                                        <td>40.98</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-03</td>
                                        <td>47764</td>
                                        <td>47872</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">108</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">2358</td>
                                        <td>849,608,574</td>
                                        <td>850,202,481</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">593,907</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">16,361,829</td>
                                        <td>43.30</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-30</td>
                                        <td>45494</td>
                                        <td>45514</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td>832,891,946</td>
                                        <td>833,840,652</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">948,706</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">948,706</td>
                                        <td>33.82</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-29</td>
                                        <td>45234</td>
                                        <td>45494</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">260</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">300</td>
                                        <td>832,742,251</td>
                                        <td>832,891,946</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">149,695</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,899,562</td>
                                        <td>27.85</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-28</td>
                                        <td>45054</td>
                                        <td>45194</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">140</td>
                                        <td>830,377,839</td>
                                        <td>830,992,384</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">614,545</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,560,905</td>
                                        <td>26.43</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-27</td>
                                        <td>45014</td>
                                        <td>45054</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>827,770,478</td>
                                        <td>829,431,479</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,661,001</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,661,001</td>
                                        <td>24.82</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-26</td>
                                        <td>44974</td>
                                        <td>45014</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>826,214,223</td>
                                        <td>827,770,478</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,556,255</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,556,255</td>
                                        <td>26.32</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-25</td>
                                        <td>44574</td>
                                        <td>44974</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">400</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">400</td>
                                        <td>824,652,542</td>
                                        <td>826,214,223</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,561,681</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,561,681</td>
                                        <td>32.90</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-24</td>
                                        <td>44554</td>
                                        <td>44574</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">1330</td>
                                        <td>823,620,914</td>
                                        <td>824,652,542</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,031,628</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">-45,926,925</td>
                                        <td>26.50</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-23</td>
                                        <td>43154</td>
                                        <td>43244</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">90</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">90</td>
                                        <td>868,984,485</td>
                                        <td>870,579,467</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,594,982</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,594,982</td>
                                        <td>25.58</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-22</td>
                                        <td>43134</td>
                                        <td>43154</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>867,922,049</td>
                                        <td>868,984,485</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,062,436</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,401,660</td>
                                        <td>25.42</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-21</td>
                                        <td>43094</td>
                                        <td>43114</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">1860</td>
                                        <td>867,366,511</td>
                                        <td>867,582,825</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">216,314</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">13,396,603</td>
                                        <td>19.92</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-20</td>
                                        <td>41214</td>
                                        <td>41254</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">40</td>
                                        <td>852,837,120</td>
                                        <td>854,186,222</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,349,102</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,349,102</td>
                                        <td>23.12</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-19</td>
                                        <td>41194</td>
                                        <td>41214</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">20</td>
                                        <td>851,406,109</td>
                                        <td>852,837,120</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,431,011</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,431,011</td>
                                        <td>21.77</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-18</td>
                                        <td>40934</td>
                                        <td>41194</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">260</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">260</td>
                                        <td>850,075,226</td>
                                        <td>851,406,109</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,330,883</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,330,883</td>
                                        <td>33.60</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-17</td>
                                        <td>40934</td>
                                        <td>40934</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">0</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">0</td>
                                        <td>849,708,926</td>
                                        <td>850,075,226</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">366,300</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,588,537</td>
                                        <td>21.83</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-16</td>
                                        <td>40874</td>
                                        <td>40934</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">60</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">60</td>
                                        <td>847,315,992</td>
                                        <td>848,486,689</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,170,697</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,170,697</td>
                                        <td>26.13</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-15</td>
                                        <td>40829</td>
                                        <td>40874</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">45</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">1305</td>
                                        <td>845,098,543</td>
                                        <td>847,315,992</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">2,217,449</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">2,217,449</td>
                                        <td>25.37</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-14</td>
                                        <td>39519</td>
                                        <td>39569</td>
                                        <td class="{ 'ba-positive' if row['baah_diamond_gain'] >= 0 else 'ba-negative' }">50</td>
                                        <td class="{ 'ba-positive' if row['net_diamond_gain'] >= 0 else 'ba-negative' }">50</td>
                                        <td>844,065,132</td>
                                        <td>845,098,543</td>
                                        <td class="{ 'ba-positive' if row['baah_credit_gain'] >= 0 else 'ba-negative' }">1,033,411</td>
                                        <td class="{ 'ba-positive' if row['net_credit_gain'] >= 0 else 'ba-negative' }">1,033,411</td>
                                        <td>23.30</td>
                                    </tr>
                                    
                                </tbody>
                            </table>
                        </div>
                    </div>
                </section>
                
                <!-- 周度报告部分 -->
                <section id="weekly-section" class="section">
                    <div class="ba-card">
                        <h2 class="ba-heading ba-heading--primary">周度分析报告</h2>
                        <div class="ba-table-container">
                            <table class="ba-table" id="weekly-table">
                                <thead>
                                    <tr>
                                        <th>周范围</th>
                                        <th>天数</th>
                                        <th>BAAH青辉石总增益</th>
                                        <th>净青辉石总增益</th>
                                        <th>BAAH青辉石平均增益</th>
                                        <th>净青辉石平均增益</th>
                                        <th>任务总时长</th>
                                        <th>任务平均时长</th>
                                    </tr>
                                </thead>
                                <tbody id="weekly-body">
                                    
                                    <tr>
                                        <td>2025-12-01 至 2025-12-07</td>
                                        <td>4</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">1870</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">2300</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">467.50</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">575.00</td>
                                        <td>129.33</td>
                                        <td>32.33</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-24 至 2025-11-30</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">500</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">2130</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">71.43</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">304.29</td>
                                        <td>209.65</td>
                                        <td>29.95</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-17 至 2025-11-23</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">1160</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">2690</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">165.71</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">384.29</td>
                                        <td>246.70</td>
                                        <td>35.24</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-10 至 2025-11-16</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">1480</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">2345</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">211.43</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">335.00</td>
                                        <td>202.18</td>
                                        <td>28.88</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-11-03 至 2025-11-09</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">3260</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">4860</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">465.71</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">694.29</td>
                                        <td>277.05</td>
                                        <td>39.58</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-27 至 2025-11-02</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">980</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">1310</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">140.00</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">187.14</td>
                                        <td>203.28</td>
                                        <td>29.04</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-20 至 2025-10-26</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">1680</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">3571</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">240.00</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">510.14</td>
                                        <td>227.67</td>
                                        <td>32.52</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-13 至 2025-10-19</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">1158</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">1758</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">165.43</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">251.14</td>
                                        <td>290.68</td>
                                        <td>41.53</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-10-06 至 2025-10-12</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">1700</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">2700</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">242.86</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">385.71</td>
                                        <td>273.68</td>
                                        <td>39.10</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-29 至 2025-10-05</td>
                                        <td>5</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">598</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">2928</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">119.60</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">585.60</td>
                                        <td>173.73</td>
                                        <td>34.75</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-22 至 2025-09-28</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">750</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">2080</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">107.14</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">297.14</td>
                                        <td>187.97</td>
                                        <td>26.85</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-15 至 2025-09-21</td>
                                        <td>7</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">445</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">3545</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">63.57</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">506.43</td>
                                        <td>171.73</td>
                                        <td>24.53</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025-09-08 至 2025-09-14</td>
                                        <td>1</td>
                                        <td class="{ 'ba-positive' if week['total_baah_diamond'] >= 0 else 'ba-negative' }">50</td>
                                        <td class="{ 'ba-positive' if week['total_net_diamond'] >= 0 else 'ba-negative' }">50</td>
                                        <td class="{ 'ba-positive' if week['avg_baah_diamond'] >= 0 else 'ba-negative' }">50.00</td>
                                        <td class="{ 'ba-positive' if week['avg_net_diamond'] >= 0 else 'ba-negative' }">50.00</td>
                                        <td>23.30</td>
                                        <td>23.30</td>
                                    </tr>
                                    
                                </tbody>
                            </table>
                        </div>
                    </div>
                </section>
                
                <!-- 月度报告部分 -->
                <section id="monthly-section" class="section">
                    <div class="ba-card">
                        <h2 class="ba-heading ba-heading--primary">月度分析报告</h2>
                        <div class="ba-table-container">
                            <table class="ba-table" id="monthly-table">
                                <thead>
                                    <tr>
                                        <th>月份</th>
                                        <th>天数</th>
                                        <th>BAAH青辉石总增益</th>
                                        <th>净青辉石总增益</th>
                                        <th>BAAH青辉石平均增益</th>
                                        <th>净青辉石平均增益</th>
                                        <th>任务总时长</th>
                                        <th>任务平均时长</th>
                                    </tr>
                                </thead>
                                <tbody id="monthly-body">
                                    
                                    <tr>
                                        <td>2025年12月</td>
                                        <td>4</td>
                                        <td class="{ 'ba-positive' if month['total_baah_diamond'] >= 0 else 'ba-negative' }">1870</td>
                                        <td class="{ 'ba-positive' if month['total_net_diamond'] >= 0 else 'ba-negative' }">2300</td>
                                        <td class="{ 'ba-positive' if month['avg_baah_diamond'] >= 0 else 'ba-negative' }">467.50</td>
                                        <td class="{ 'ba-positive' if month['avg_net_diamond'] >= 0 else 'ba-negative' }">575.00</td>
                                        <td>129.33</td>
                                        <td>32.33</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025年11月</td>
                                        <td>30</td>
                                        <td class="{ 'ba-positive' if month['total_baah_diamond'] >= 0 else 'ba-negative' }">6980</td>
                                        <td class="{ 'ba-positive' if month['total_net_diamond'] >= 0 else 'ba-negative' }">12605</td>
                                        <td class="{ 'ba-positive' if month['avg_baah_diamond'] >= 0 else 'ba-negative' }">232.67</td>
                                        <td class="{ 'ba-positive' if month['avg_net_diamond'] >= 0 else 'ba-negative' }">420.17</td>
                                        <td>999.93</td>
                                        <td>33.33</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025年10月</td>
                                        <td>29</td>
                                        <td class="{ 'ba-positive' if month['total_baah_diamond'] >= 0 else 'ba-negative' }">5256</td>
                                        <td class="{ 'ba-positive' if month['total_net_diamond'] >= 0 else 'ba-negative' }">11367</td>
                                        <td class="{ 'ba-positive' if month['avg_baah_diamond'] >= 0 else 'ba-negative' }">181.24</td>
                                        <td class="{ 'ba-positive' if month['avg_net_diamond'] >= 0 else 'ba-negative' }">391.97</td>
                                        <td>1043.03</td>
                                        <td>35.97</td>
                                    </tr>
                                    
                                    <tr>
                                        <td>2025年09月</td>
                                        <td>17</td>
                                        <td class="{ 'ba-positive' if month['total_baah_diamond'] >= 0 else 'ba-negative' }">1525</td>
                                        <td class="{ 'ba-positive' if month['total_net_diamond'] >= 0 else 'ba-negative' }">5995</td>
                                        <td class="{ 'ba-positive' if month['avg_baah_diamond'] >= 0 else 'ba-negative' }">89.71</td>
                                        <td class="{ 'ba-positive' if month['avg_net_diamond'] >= 0 else 'ba-negative' }">352.65</td>
                                        <td>444.67</td>
                                        <td>26.16</td>
                                    </tr>
                                    
                                </tbody>
                            </table>
                        </div>
                    </div>
                </section>
            </main>
        </div>
        
        <script>
            // 嵌入数据
            const allData = [{"date":"2025-12-04","datetime":"2025-12-04T00:00:00.000","start_time":"2025-12-04 03:00:18","end_time":"2025-12-04 03:29:46","duration_minutes":29.4666666667,"start_diamond":71626,"end_diamond":71786,"start_credit":988095704,"end_credit":989549888,"baah_diamond_gain":160,"baah_credit_gain":1454184,"net_diamond_gain":160,"net_credit_gain":1454184},{"date":"2025-12-03","datetime":"2025-12-03T00:00:00.000","start_time":"2025-12-03 03:00:18","end_time":"2025-12-03 03:37:36","duration_minutes":37.3,"start_diamond":71176,"end_diamond":71626,"start_credit":986685973,"end_credit":988095704,"baah_diamond_gain":450,"baah_credit_gain":1409731,"net_diamond_gain":450,"net_credit_gain":1409731},{"date":"2025-12-02","datetime":"2025-12-02T00:00:00.000","start_time":"2025-12-02 03:00:17","end_time":"2025-12-02 03:32:20","duration_minutes":32.05,"start_diamond":71136,"end_diamond":71176,"start_credit":985303887,"end_credit":986685973,"baah_diamond_gain":40,"baah_credit_gain":1382086,"net_diamond_gain":40,"net_credit_gain":1382086},{"date":"2025-12-01","datetime":"2025-12-01T00:00:00.000","start_time":"2025-12-01 03:00:16","end_time":"2025-12-01 03:30:47","duration_minutes":30.5166666667,"start_diamond":69916,"end_diamond":71136,"start_credit":983983191,"end_credit":985303887,"baah_diamond_gain":1220,"baah_credit_gain":1320696,"net_diamond_gain":1650,"net_credit_gain":5529836},{"date":"2025-11-30","datetime":"2025-11-30T00:00:00.000","start_time":"2025-11-30 03:00:15","end_time":"2025-11-30 03:32:58","duration_minutes":32.7166666667,"start_diamond":69446,"end_diamond":69486,"start_credit":978427198,"end_credit":979774051,"baah_diamond_gain":40,"baah_credit_gain":1346853,"net_diamond_gain":1670,"net_credit_gain":-28514436},{"date":"2025-11-29","datetime":"2025-11-29T00:00:00.000","start_time":"2025-11-29 03:00:16","end_time":"2025-11-29 03:31:18","duration_minutes":31.0333333333,"start_diamond":67776,"end_diamond":67816,"start_credit":1006799336,"end_credit":1008288487,"baah_diamond_gain":40,"baah_credit_gain":1489151,"net_diamond_gain":40,"net_credit_gain":1489151},{"date":"2025-11-28","datetime":"2025-11-28T00:00:00.000","start_time":"2025-11-28 03:00:17","end_time":"2025-11-28 03:31:14","duration_minutes":30.95,"start_diamond":67636,"end_diamond":67776,"start_credit":1005432033,"end_credit":1006799336,"baah_diamond_gain":140,"baah_credit_gain":1367303,"net_diamond_gain":140,"net_credit_gain":1367303},{"date":"2025-11-27","datetime":"2025-11-27T00:00:00.000","start_time":"2025-11-27 03:00:17","end_time":"2025-11-27 03:31:06","duration_minutes":30.8166666667,"start_diamond":67476,"end_diamond":67636,"start_credit":1004045716,"end_credit":1005432033,"baah_diamond_gain":160,"baah_credit_gain":1386317,"net_diamond_gain":160,"net_credit_gain":1386317},{"date":"2025-11-26","datetime":"2025-11-26T00:00:00.000","start_time":"2025-11-26 03:00:19","end_time":"2025-11-26 03:25:45","duration_minutes":25.4333333333,"start_diamond":67436,"end_diamond":67476,"start_credit":1002666001,"end_credit":1004045716,"baah_diamond_gain":40,"baah_credit_gain":1379715,"net_diamond_gain":40,"net_credit_gain":1379715},{"date":"2025-11-25","datetime":"2025-11-25T00:00:00.000","start_time":"2025-11-25 03:00:17","end_time":"2025-11-25 03:31:18","duration_minutes":31.0166666667,"start_diamond":67396,"end_diamond":67436,"start_credit":1001297414,"end_credit":1002666001,"baah_diamond_gain":40,"baah_credit_gain":1368587,"net_diamond_gain":40,"net_credit_gain":1368587},{"date":"2025-11-24","datetime":"2025-11-24T00:00:00.000","start_time":"2025-11-24 03:00:16","end_time":"2025-11-24 03:27:57","duration_minutes":27.6833333333,"start_diamond":67356,"end_diamond":67396,"start_credit":999735372,"end_credit":1001297414,"baah_diamond_gain":40,"baah_credit_gain":1562042,"net_diamond_gain":40,"net_credit_gain":1562042},{"date":"2025-11-23","datetime":"2025-11-23T00:00:00.000","start_time":"2025-11-23 03:00:18","end_time":"2025-11-23 03:30:46","duration_minutes":30.4666666667,"start_diamond":67266,"end_diamond":67356,"start_credit":998179083,"end_credit":999735372,"baah_diamond_gain":90,"baah_credit_gain":1556289,"net_diamond_gain":210,"net_credit_gain":2558711},{"date":"2025-11-22","datetime":"2025-11-22T00:00:00.000","start_time":"2025-11-22 03:00:16","end_time":"2025-11-22 03:34:41","duration_minutes":34.4166666667,"start_diamond":67106,"end_diamond":67146,"start_credit":995473153,"end_credit":997176661,"baah_diamond_gain":40,"baah_credit_gain":1703508,"net_diamond_gain":40,"net_credit_gain":1703508},{"date":"2025-11-21","datetime":"2025-11-21T00:00:00.000","start_time":"2025-11-21 03:00:18","end_time":"2025-11-21 03:38:28","duration_minutes":38.1666666667,"start_diamond":67066,"end_diamond":67106,"start_credit":993925642,"end_credit":995473153,"baah_diamond_gain":40,"baah_credit_gain":1547511,"net_diamond_gain":40,"net_credit_gain":1547511},{"date":"2025-11-20","datetime":"2025-11-20T00:00:00.000","start_time":"2025-11-20 03:12:17","end_time":"2025-11-20 03:38:14","duration_minutes":25.95,"start_diamond":66906,"end_diamond":67066,"start_credit":993293623,"end_credit":993925642,"baah_diamond_gain":160,"baah_credit_gain":632019,"net_diamond_gain":160,"net_credit_gain":1577487},{"date":"2025-11-19","datetime":"2025-11-19T00:00:00.000","start_time":"2025-11-19 03:00:19","end_time":"2025-11-19 03:56:11","duration_minutes":55.8666666667,"start_diamond":66236,"end_diamond":66906,"start_credit":990144347,"end_credit":992348155,"baah_diamond_gain":670,"baah_credit_gain":2203808,"net_diamond_gain":670,"net_credit_gain":2203808},{"date":"2025-11-18","datetime":"2025-11-18T00:00:00.000","start_time":"2025-11-18 03:00:15","end_time":"2025-11-18 03:32:48","duration_minutes":32.55,"start_diamond":66096,"end_diamond":66236,"start_credit":988618834,"end_credit":990144347,"baah_diamond_gain":140,"baah_credit_gain":1525513,"net_diamond_gain":140,"net_credit_gain":1525513},{"date":"2025-11-17","datetime":"2025-11-17T00:00:00.000","start_time":"2025-11-17 03:00:16","end_time":"2025-11-17 03:29:33","duration_minutes":29.2833333333,"start_diamond":66076,"end_diamond":66096,"start_credit":987811204,"end_credit":988618834,"baah_diamond_gain":20,"baah_credit_gain":807630,"net_diamond_gain":1430,"net_credit_gain":40087135},{"date":"2025-11-16","datetime":"2025-11-16T00:00:00.000","start_time":"2025-11-16 17:04:24","end_time":"2025-11-16 17:27:41","duration_minutes":23.2833333333,"start_diamond":64601,"end_diamond":64666,"start_credit":948086825,"end_credit":948531699,"baah_diamond_gain":65,"baah_credit_gain":444874,"net_diamond_gain":930,"net_credit_gain":11225186},{"date":"2025-11-15","datetime":"2025-11-15T00:00:00.000","start_time":"2025-11-15 03:00:16","end_time":"2025-11-15 03:31:02","duration_minutes":30.7666666667,"start_diamond":63696,"end_diamond":63736,"start_credit":935612579,"end_credit":937306513,"baah_diamond_gain":40,"baah_credit_gain":1693934,"net_diamond_gain":40,"net_credit_gain":1693934},{"date":"2025-11-14","datetime":"2025-11-14T00:00:00.000","start_time":"2025-11-14 03:00:16","end_time":"2025-11-14 03:30:57","duration_minutes":30.6833333333,"start_diamond":63456,"end_diamond":63696,"start_credit":933943829,"end_credit":935612579,"baah_diamond_gain":240,"baah_credit_gain":1668750,"net_diamond_gain":240,"net_credit_gain":1668750},{"date":"2025-11-13","datetime":"2025-11-13T00:00:00.000","start_time":"2025-11-13 03:00:18","end_time":"2025-11-13 03:31:29","duration_minutes":31.1833333333,"start_diamond":63046,"end_diamond":63456,"start_credit":932314251,"end_credit":933943829,"baah_diamond_gain":410,"baah_credit_gain":1629578,"net_diamond_gain":410,"net_credit_gain":1629578},{"date":"2025-11-12","datetime":"2025-11-12T00:00:00.000","start_time":"2025-11-12 03:00:14","end_time":"2025-11-12 03:31:05","duration_minutes":30.85,"start_diamond":62806,"end_diamond":63046,"start_credit":930685561,"end_credit":932314251,"baah_diamond_gain":240,"baah_credit_gain":1628690,"net_diamond_gain":240,"net_credit_gain":1628690},{"date":"2025-11-11","datetime":"2025-11-11T00:00:00.000","start_time":"2025-11-11 03:15:27","end_time":"2025-11-11 03:39:27","duration_minutes":24.0,"start_diamond":62566,"end_diamond":62806,"start_credit":929999161,"end_credit":930685561,"baah_diamond_gain":240,"baah_credit_gain":686400,"net_diamond_gain":240,"net_credit_gain":1632141},{"date":"2025-11-10","datetime":"2025-11-10T00:00:00.000","start_time":"2025-11-10 03:00:12","end_time":"2025-11-10 03:31:37","duration_minutes":31.4166666667,"start_diamond":62321,"end_diamond":62566,"start_credit":928050691,"end_credit":929053420,"baah_diamond_gain":245,"baah_credit_gain":1002729,"net_diamond_gain":245,"net_credit_gain":1002729},{"date":"2025-11-09","datetime":"2025-11-09T00:00:00.000","start_time":"2025-11-09 12:49:09","end_time":"2025-11-09 13:14:33","duration_minutes":25.4,"start_diamond":61481,"end_diamond":62321,"start_credit":927593309,"end_credit":928050691,"baah_diamond_gain":840,"baah_credit_gain":457382,"net_diamond_gain":840,"net_credit_gain":1407774},{"date":"2025-11-08","datetime":"2025-11-08T00:00:00.000","start_time":"2025-11-08 03:00:13","end_time":"2025-11-08 03:34:46","duration_minutes":34.55,"start_diamond":60961,"end_diamond":61481,"start_credit":925582461,"end_credit":926642917,"baah_diamond_gain":520,"baah_credit_gain":1060456,"net_diamond_gain":1570,"net_credit_gain":6111831},{"date":"2025-11-07","datetime":"2025-11-07T00:00:00.000","start_time":"2025-11-07 11:12:26","end_time":"2025-11-07 11:59:19","duration_minutes":46.8833333333,"start_diamond":59451,"end_diamond":59911,"start_credit":919164264,"end_credit":920531086,"baah_diamond_gain":460,"baah_credit_gain":1366822,"net_diamond_gain":460,"net_credit_gain":1366822},{"date":"2025-11-06","datetime":"2025-11-06T00:00:00.000","start_time":"2025-11-06 12:00:19","end_time":"2025-11-06 12:33:40","duration_minutes":33.35,"start_diamond":59211,"end_diamond":59451,"start_credit":917782807,"end_credit":919164264,"baah_diamond_gain":240,"baah_credit_gain":1381457,"net_diamond_gain":240,"net_credit_gain":1381457},{"date":"2025-11-05","datetime":"2025-11-05T00:00:00.000","start_time":"2025-11-05 12:18:46","end_time":"2025-11-05 13:05:11","duration_minutes":46.4166666667,"start_diamond":58981,"end_diamond":59211,"start_credit":916335733,"end_credit":917782807,"baah_diamond_gain":230,"baah_credit_gain":1447074,"net_diamond_gain":230,"net_credit_gain":1447074},{"date":"2025-11-04","datetime":"2025-11-04T00:00:00.000","start_time":"2025-11-04 13:19:29","end_time":"2025-11-04 14:15:46","duration_minutes":56.2833333333,"start_diamond":58181,"end_diamond":58981,"start_credit":913880959,"end_credit":916335733,"baah_diamond_gain":800,"baah_credit_gain":2454774,"net_diamond_gain":800,"net_credit_gain":2454774},{"date":"2025-11-03","datetime":"2025-11-03T00:00:00.000","start_time":"2025-11-03 10:26:25","end_time":"2025-11-03 11:00:35","duration_minutes":34.1666666667,"start_diamond":58011,"end_diamond":58181,"start_credit":912608311,"end_credit":913880959,"baah_diamond_gain":170,"baah_credit_gain":1272648,"net_diamond_gain":720,"net_credit_gain":5432648},{"date":"2025-11-02","datetime":"2025-11-02T00:00:00.000","start_time":"2025-11-02 12:43:20","end_time":"2025-11-02 13:12:43","duration_minutes":29.3833333333,"start_diamond":57121,"end_diamond":57461,"start_credit":907022294,"end_credit":908448311,"baah_diamond_gain":340,"baah_credit_gain":1426017,"net_diamond_gain":340,"net_credit_gain":1426017},{"date":"2025-11-01","datetime":"2025-11-01T00:00:00.000","start_time":"2025-11-01 06:20:32","end_time":"2025-11-01 06:55:30","duration_minutes":34.9666666667,"start_diamond":56881,"end_diamond":57121,"start_credit":905761102,"end_credit":907022294,"baah_diamond_gain":240,"baah_credit_gain":1261192,"net_diamond_gain":240,"net_credit_gain":1261192},{"date":"2025-10-31","datetime":"2025-10-31T00:00:00.000","start_time":"2025-10-31 11:15:44","end_time":"2025-10-31 11:42:06","duration_minutes":26.3666666667,"start_diamond":56861,"end_diamond":56881,"start_credit":904468611,"end_credit":905761102,"baah_diamond_gain":20,"baah_credit_gain":1292491,"net_diamond_gain":350,"net_credit_gain":2138971},{"date":"2025-10-30","datetime":"2025-10-30T00:00:00.000","start_time":"2025-10-30 12:00:17","end_time":"2025-10-30 12:29:35","duration_minutes":29.3,"start_diamond":56371,"end_diamond":56531,"start_credit":902233680,"end_credit":903622131,"baah_diamond_gain":160,"baah_credit_gain":1388451,"net_diamond_gain":160,"net_credit_gain":1388451},{"date":"2025-10-29","datetime":"2025-10-29T00:00:00.000","start_time":"2025-10-29 10:56:40","end_time":"2025-10-29 11:24:46","duration_minutes":28.1,"start_diamond":56231,"end_diamond":56371,"start_credit":900897466,"end_credit":902233680,"baah_diamond_gain":140,"baah_credit_gain":1336214,"net_diamond_gain":140,"net_credit_gain":1336214},{"date":"2025-10-28","datetime":"2025-10-28T00:00:00.000","start_time":"2025-10-28 12:28:40","end_time":"2025-10-28 12:52:49","duration_minutes":24.15,"start_diamond":56191,"end_diamond":56231,"start_credit":900395939,"end_credit":900897466,"baah_diamond_gain":40,"baah_credit_gain":501527,"net_diamond_gain":40,"net_credit_gain":1447146},{"date":"2025-10-27","datetime":"2025-10-27T00:00:00.000","start_time":"2025-10-27 10:30:32","end_time":"2025-10-27 11:01:33","duration_minutes":31.0166666667,"start_diamond":56151,"end_diamond":56191,"start_credit":898083352,"end_credit":899450320,"baah_diamond_gain":40,"baah_credit_gain":1366968,"net_diamond_gain":40,"net_credit_gain":1366968},{"date":"2025-10-26","datetime":"2025-10-26T00:00:00.000","start_time":"2025-10-26 11:40:51","end_time":"2025-10-26 12:11:55","duration_minutes":31.0666666667,"start_diamond":55917,"end_diamond":56151,"start_credit":897648949,"end_credit":898083352,"baah_diamond_gain":234,"baah_credit_gain":434403,"net_diamond_gain":660,"net_credit_gain":1371556},{"date":"2025-10-25","datetime":"2025-10-25T00:00:00.000","start_time":"2025-10-25 12:11:56","end_time":"2025-10-25 12:34:41","duration_minutes":22.75,"start_diamond":54995,"end_diamond":55491,"start_credit":896375342,"end_credit":896711796,"baah_diamond_gain":496,"baah_credit_gain":336454,"net_diamond_gain":536,"net_credit_gain":1588505},{"date":"2025-10-24","datetime":"2025-10-24T00:00:00.000","start_time":"2025-10-24 11:20:52","end_time":"2025-10-24 11:57:58","duration_minutes":37.1,"start_diamond":54669,"end_diamond":54955,"start_credit":893802158,"end_credit":895123291,"baah_diamond_gain":286,"baah_credit_gain":1321133,"net_diamond_gain":286,"net_credit_gain":1321133},{"date":"2025-10-23","datetime":"2025-10-23T00:00:00.000","start_time":"2025-10-23 12:09:44","end_time":"2025-10-23 12:43:03","duration_minutes":33.3166666667,"start_diamond":54349,"end_diamond":54669,"start_credit":892443133,"end_credit":893802158,"baah_diamond_gain":320,"baah_credit_gain":1359025,"net_diamond_gain":320,"net_credit_gain":1364106},{"date":"2025-10-22","datetime":"2025-10-22T00:00:00.000","start_time":"2025-10-22 13:05:06","end_time":"2025-10-22 13:27:18","duration_minutes":22.2,"start_diamond":54175,"end_diamond":54349,"start_credit":892072995,"end_credit":892438052,"baah_diamond_gain":174,"baah_credit_gain":365057,"net_diamond_gain":234,"net_credit_gain":1148506},{"date":"2025-10-21","datetime":"2025-10-21T00:00:00.000","start_time":"2025-10-21 18:44:04","end_time":"2025-10-21 19:21:33","duration_minutes":37.4833333333,"start_diamond":53985,"end_diamond":54115,"start_credit":889974195,"end_credit":891289546,"baah_diamond_gain":130,"baah_credit_gain":1315351,"net_diamond_gain":610,"net_credit_gain":1318093},{"date":"2025-10-20","datetime":"2025-10-20T00:00:00.000","start_time":"2025-10-20 12:00:34","end_time":"2025-10-20 12:44:19","duration_minutes":43.75,"start_diamond":53465,"end_diamond":53505,"start_credit":888508219,"end_credit":889971453,"baah_diamond_gain":40,"baah_credit_gain":1463234,"net_diamond_gain":925,"net_credit_gain":15388133},{"date":"2025-10-19","datetime":"2025-10-19T00:00:00.000","start_time":"2025-10-19 12:19:25","end_time":"2025-10-19 12:51:01","duration_minutes":31.6,"start_diamond":52440,"end_diamond":52580,"start_credit":873343431,"end_credit":874583320,"baah_diamond_gain":140,"baah_credit_gain":1239889,"net_diamond_gain":740,"net_credit_gain":3360141},{"date":"2025-10-18","datetime":"2025-10-18T00:00:00.000","start_time":"2025-10-18 12:00:24","end_time":"2025-10-18 12:40:06","duration_minutes":39.7,"start_diamond":51800,"end_diamond":51840,"start_credit":869744042,"end_credit":871223179,"baah_diamond_gain":40,"baah_credit_gain":1479137,"net_diamond_gain":40,"net_credit_gain":1479137},{"date":"2025-10-17","datetime":"2025-10-17T00:00:00.000","start_time":"2025-10-17 07:04:38","end_time":"2025-10-17 07:44:00","duration_minutes":39.3666666667,"start_diamond":51760,"end_diamond":51800,"start_credit":868423193,"end_credit":869744042,"baah_diamond_gain":40,"baah_credit_gain":1320849,"net_diamond_gain":40,"net_credit_gain":1320849},{"date":"2025-10-16","datetime":"2025-10-16T00:00:00.000","start_time":"2025-10-16 12:00:45","end_time":"2025-10-16 12:40:13","duration_minutes":39.4666666667,"start_diamond":51580,"end_diamond":51760,"start_credit":866981883,"end_credit":868423193,"baah_diamond_gain":180,"baah_credit_gain":1441310,"net_diamond_gain":180,"net_credit_gain":1441310},{"date":"2025-10-15","datetime":"2025-10-15T00:00:00.000","start_time":"2025-10-15 11:26:38","end_time":"2025-10-15 11:51:07","duration_minutes":24.4833333333,"start_diamond":51540,"end_diamond":51580,"start_credit":865437844,"end_credit":866981883,"baah_diamond_gain":40,"baah_credit_gain":1544039,"net_diamond_gain":40,"net_credit_gain":1544039},{"date":"2025-10-14","datetime":"2025-10-14T00:00:00.000","start_time":"2025-10-14 11:49:10","end_time":"2025-10-14 13:02:15","duration_minutes":73.0833333333,"start_diamond":50860,"end_diamond":51540,"start_credit":864131775,"end_credit":865437844,"baah_diamond_gain":680,"baah_credit_gain":1306069,"net_diamond_gain":680,"net_credit_gain":1317069},{"date":"2025-10-13","datetime":"2025-10-13T00:00:00.000","start_time":"2025-10-13 12:20:39","end_time":"2025-10-13 13:03:38","duration_minutes":42.9833333333,"start_diamond":50822,"end_diamond":50860,"start_credit":862719582,"end_credit":864120775,"baah_diamond_gain":38,"baah_credit_gain":1401193,"net_diamond_gain":38,"net_credit_gain":1449032},{"date":"2025-10-12","datetime":"2025-10-12T00:00:00.000","start_time":"2025-10-12 11:29:54","end_time":"2025-10-12 12:15:47","duration_minutes":45.8833333333,"start_diamond":50782,"end_diamond":50822,"start_credit":861392567,"end_credit":862671743,"baah_diamond_gain":40,"baah_credit_gain":1279176,"net_diamond_gain":40,"net_credit_gain":1279176},{"date":"2025-10-11","datetime":"2025-10-11T00:00:00.000","start_time":"2025-10-11 12:16:57","end_time":"2025-10-11 12:56:33","duration_minutes":39.6,"start_diamond":50742,"end_diamond":50782,"start_credit":85990455,"end_credit":861392567,"baah_diamond_gain":40,"baah_credit_gain":775402112,"net_diamond_gain":1040,"net_credit_gain":1488012},{"date":"2025-10-10","datetime":"2025-10-10T00:00:00.000","start_time":"2025-10-10 12:00:34","end_time":"2025-10-10 12:39:03","duration_minutes":38.4833333333,"start_diamond":49702,"end_diamond":49742,"start_credit":858543186,"end_credit":859904555,"baah_diamond_gain":40,"baah_credit_gain":1361369,"net_diamond_gain":40,"net_credit_gain":1361369},{"date":"2025-10-09","datetime":"2025-10-09T00:00:00.000","start_time":"2025-10-09 12:19:16","end_time":"2025-10-09 12:56:48","duration_minutes":37.5333333333,"start_diamond":48842,"end_diamond":49702,"start_credit":858121198,"end_credit":858543186,"baah_diamond_gain":860,"baah_credit_gain":421988,"net_diamond_gain":860,"net_credit_gain":1368981},{"date":"2025-10-08","datetime":"2025-10-08T00:00:00.000","start_time":"2025-10-08 12:09:51","end_time":"2025-10-08 12:49:54","duration_minutes":40.05,"start_diamond":48802,"end_diamond":48842,"start_credit":855784464,"end_credit":857174205,"baah_diamond_gain":40,"baah_credit_gain":1389741,"net_diamond_gain":40,"net_credit_gain":1389741},{"date":"2025-10-07","datetime":"2025-10-07T00:00:00.000","start_time":"2025-10-07 12:00:19","end_time":"2025-10-07 12:40:58","duration_minutes":40.65,"start_diamond":48762,"end_diamond":48802,"start_credit":854391000,"end_credit":855784464,"baah_diamond_gain":40,"baah_credit_gain":1393464,"net_diamond_gain":40,"net_credit_gain":1393464},{"date":"2025-10-06","datetime":"2025-10-06T00:00:00.000","start_time":"2025-10-06 10:25:16","end_time":"2025-10-06 10:56:45","duration_minutes":31.4833333333,"start_diamond":48122,"end_diamond":48762,"start_credit":853134778,"end_credit":854391000,"baah_diamond_gain":640,"baah_credit_gain":1256222,"net_diamond_gain":640,"net_credit_gain":1256222},{"date":"2025-10-05","datetime":"2025-10-05T00:00:00.000","start_time":"2025-10-05 12:35:47","end_time":"2025-10-05 13:03:34","duration_minutes":27.7833333333,"start_diamond":48122,"end_diamond":48122,"start_credit":853092261,"end_credit":853134778,"baah_diamond_gain":0,"baah_credit_gain":42517,"net_diamond_gain":40,"net_credit_gain":1530915},{"date":"2025-10-04","datetime":"2025-10-04T00:00:00.000","start_time":"2025-10-04 07:21:02","end_time":"2025-10-04 08:02:01","duration_minutes":40.9833333333,"start_diamond":47872,"end_diamond":48082,"start_credit":850202481,"end_credit":851603863,"baah_diamond_gain":210,"baah_credit_gain":1401382,"net_diamond_gain":210,"net_credit_gain":1401382},{"date":"2025-10-03","datetime":"2025-10-03T00:00:00.000","start_time":"2025-10-03 19:36:39","end_time":"2025-10-03 20:19:57","duration_minutes":43.3,"start_diamond":47764,"end_diamond":47872,"start_credit":849608574,"end_credit":850202481,"baah_diamond_gain":108,"baah_credit_gain":593907,"net_diamond_gain":2358,"net_credit_gain":16361829},{"date":"2025-09-30","datetime":"2025-09-30T00:00:00.000","start_time":"2025-09-30 07:11:47","end_time":"2025-09-30 07:45:36","duration_minutes":33.8166666667,"start_diamond":45494,"end_diamond":45514,"start_credit":832891946,"end_credit":833840652,"baah_diamond_gain":20,"baah_credit_gain":948706,"net_diamond_gain":20,"net_credit_gain":948706},{"date":"2025-09-29","datetime":"2025-09-29T00:00:00.000","start_time":"2025-09-29 16:14:09","end_time":"2025-09-29 16:42:00","duration_minutes":27.85,"start_diamond":45234,"end_diamond":45494,"start_credit":832742251,"end_credit":832891946,"baah_diamond_gain":260,"baah_credit_gain":149695,"net_diamond_gain":300,"net_credit_gain":1899562},{"date":"2025-09-28","datetime":"2025-09-28T00:00:00.000","start_time":"2025-09-28 07:23:01","end_time":"2025-09-28 07:49:27","duration_minutes":26.4333333333,"start_diamond":45054,"end_diamond":45194,"start_credit":830377839,"end_credit":830992384,"baah_diamond_gain":140,"baah_credit_gain":614545,"net_diamond_gain":140,"net_credit_gain":1560905},{"date":"2025-09-27","datetime":"2025-09-27T00:00:00.000","start_time":"2025-09-27 07:04:32","end_time":"2025-09-27 07:29:21","duration_minutes":24.8166666667,"start_diamond":45014,"end_diamond":45054,"start_credit":827770478,"end_credit":829431479,"baah_diamond_gain":40,"baah_credit_gain":1661001,"net_diamond_gain":40,"net_credit_gain":1661001},{"date":"2025-09-26","datetime":"2025-09-26T00:00:00.000","start_time":"2025-09-26 07:04:22","end_time":"2025-09-26 07:30:41","duration_minutes":26.3166666667,"start_diamond":44974,"end_diamond":45014,"start_credit":826214223,"end_credit":827770478,"baah_diamond_gain":40,"baah_credit_gain":1556255,"net_diamond_gain":40,"net_credit_gain":1556255},{"date":"2025-09-25","datetime":"2025-09-25T00:00:00.000","start_time":"2025-09-25 07:35:40","end_time":"2025-09-25 08:08:34","duration_minutes":32.9,"start_diamond":44574,"end_diamond":44974,"start_credit":824652542,"end_credit":826214223,"baah_diamond_gain":400,"baah_credit_gain":1561681,"net_diamond_gain":400,"net_credit_gain":1561681},{"date":"2025-09-24","datetime":"2025-09-24T00:00:00.000","start_time":"2025-09-24 07:04:36","end_time":"2025-09-24 07:31:06","duration_minutes":26.5,"start_diamond":44554,"end_diamond":44574,"start_credit":823620914,"end_credit":824652542,"baah_diamond_gain":20,"baah_credit_gain":1031628,"net_diamond_gain":1330,"net_credit_gain":-45926925},{"date":"2025-09-23","datetime":"2025-09-23T00:00:00.000","start_time":"2025-09-23 09:29:23","end_time":"2025-09-23 09:54:58","duration_minutes":25.5833333333,"start_diamond":43154,"end_diamond":43244,"start_credit":868984485,"end_credit":870579467,"baah_diamond_gain":90,"baah_credit_gain":1594982,"net_diamond_gain":90,"net_credit_gain":1594982},{"date":"2025-09-22","datetime":"2025-09-22T00:00:00.000","start_time":"2025-09-22 07:04:46","end_time":"2025-09-22 07:30:11","duration_minutes":25.4166666667,"start_diamond":43134,"end_diamond":43154,"start_credit":867922049,"end_credit":868984485,"baah_diamond_gain":20,"baah_credit_gain":1062436,"net_diamond_gain":40,"net_credit_gain":1401660},{"date":"2025-09-21","datetime":"2025-09-21T00:00:00.000","start_time":"2025-09-21 12:16:02","end_time":"2025-09-21 12:35:57","duration_minutes":19.9166666667,"start_diamond":43094,"end_diamond":43114,"start_credit":867366511,"end_credit":867582825,"baah_diamond_gain":20,"baah_credit_gain":216314,"net_diamond_gain":1860,"net_credit_gain":13396603},{"date":"2025-09-20","datetime":"2025-09-20T00:00:00.000","start_time":"2025-09-20 07:02:15","end_time":"2025-09-20 07:25:22","duration_minutes":23.1166666667,"start_diamond":41214,"end_diamond":41254,"start_credit":852837120,"end_credit":854186222,"baah_diamond_gain":40,"baah_credit_gain":1349102,"net_diamond_gain":40,"net_credit_gain":1349102},{"date":"2025-09-19","datetime":"2025-09-19T00:00:00.000","start_time":"2025-09-19 07:02:13","end_time":"2025-09-19 07:23:59","duration_minutes":21.7666666667,"start_diamond":41194,"end_diamond":41214,"start_credit":851406109,"end_credit":852837120,"baah_diamond_gain":20,"baah_credit_gain":1431011,"net_diamond_gain":20,"net_credit_gain":1431011},{"date":"2025-09-18","datetime":"2025-09-18T00:00:00.000","start_time":"2025-09-18 06:57:52","end_time":"2025-09-18 07:31:28","duration_minutes":33.6,"start_diamond":40934,"end_diamond":41194,"start_credit":850075226,"end_credit":851406109,"baah_diamond_gain":260,"baah_credit_gain":1330883,"net_diamond_gain":260,"net_credit_gain":1330883},{"date":"2025-09-17","datetime":"2025-09-17T00:00:00.000","start_time":"2025-09-17 07:16:04","end_time":"2025-09-17 07:37:54","duration_minutes":21.8333333333,"start_diamond":40934,"end_diamond":40934,"start_credit":849708926,"end_credit":850075226,"baah_diamond_gain":0,"baah_credit_gain":366300,"net_diamond_gain":0,"net_credit_gain":1588537},{"date":"2025-09-16","datetime":"2025-09-16T00:00:00.000","start_time":"2025-09-16 06:56:40","end_time":"2025-09-16 07:22:48","duration_minutes":26.1333333333,"start_diamond":40874,"end_diamond":40934,"start_credit":847315992,"end_credit":848486689,"baah_diamond_gain":60,"baah_credit_gain":1170697,"net_diamond_gain":60,"net_credit_gain":1170697},{"date":"2025-09-15","datetime":"2025-09-15T00:00:00.000","start_time":"2025-09-15 06:57:39","end_time":"2025-09-15 07:23:01","duration_minutes":25.3666666667,"start_diamond":40829,"end_diamond":40874,"start_credit":845098543,"end_credit":847315992,"baah_diamond_gain":45,"baah_credit_gain":2217449,"net_diamond_gain":1305,"net_credit_gain":2217449},{"date":"2025-09-14","datetime":"2025-09-14T00:00:00.000","start_time":"2025-09-14 07:17:21","end_time":"2025-09-14 07:40:39","duration_minutes":23.3,"start_diamond":39519,"end_diamond":39569,"start_credit":844065132,"end_credit":845098543,"baah_diamond_gain":50,"baah_credit_gain":1033411,"net_diamond_gain":50,"net_credit_gain":1033411}];
            const weeklyData = [{"week_range": "2025-12-01 \u81f3 2025-12-07", "week_start": "2025-12-01 00:00:00", "days_count": 4, "total_baah_diamond": "1870", "total_net_diamond": "2300", "avg_baah_diamond": 467.5, "avg_net_diamond": 575.0, "total_duration": 129.33333333333331, "avg_duration": 32.33333333333333}, {"week_range": "2025-11-24 \u81f3 2025-11-30", "week_start": "2025-11-24 00:00:00", "days_count": 7, "total_baah_diamond": "500", "total_net_diamond": "2130", "avg_baah_diamond": 71.42857142857143, "avg_net_diamond": 304.2857142857143, "total_duration": 209.64999999999998, "avg_duration": 29.949999999999996}, {"week_range": "2025-11-17 \u81f3 2025-11-23", "week_start": "2025-11-17 00:00:00", "days_count": 7, "total_baah_diamond": "1160", "total_net_diamond": "2690", "avg_baah_diamond": 165.71428571428572, "avg_net_diamond": 384.2857142857143, "total_duration": 246.69999999999996, "avg_duration": 35.24285714285714}, {"week_range": "2025-11-10 \u81f3 2025-11-16", "week_start": "2025-11-10 00:00:00", "days_count": 7, "total_baah_diamond": "1480", "total_net_diamond": "2345", "avg_baah_diamond": 211.42857142857142, "avg_net_diamond": 335.0, "total_duration": 202.18333333333334, "avg_duration": 28.883333333333333}, {"week_range": "2025-11-03 \u81f3 2025-11-09", "week_start": "2025-11-03 00:00:00", "days_count": 7, "total_baah_diamond": "3260", "total_net_diamond": "4860", "avg_baah_diamond": 465.7142857142857, "avg_net_diamond": 694.2857142857143, "total_duration": 277.05, "avg_duration": 39.57857142857143}, {"week_range": "2025-10-27 \u81f3 2025-11-02", "week_start": "2025-10-27 00:00:00", "days_count": 7, "total_baah_diamond": "980", "total_net_diamond": "1310", "avg_baah_diamond": 140.0, "avg_net_diamond": 187.14285714285714, "total_duration": 203.28333333333336, "avg_duration": 29.040476190476195}, {"week_range": "2025-10-20 \u81f3 2025-10-26", "week_start": "2025-10-20 00:00:00", "days_count": 7, "total_baah_diamond": "1680", "total_net_diamond": "3571", "avg_baah_diamond": 240.0, "avg_net_diamond": 510.14285714285717, "total_duration": 227.66666666666663, "avg_duration": 32.52380952380952}, {"week_range": "2025-10-13 \u81f3 2025-10-19", "week_start": "2025-10-13 00:00:00", "days_count": 7, "total_baah_diamond": "1158", "total_net_diamond": "1758", "avg_baah_diamond": 165.42857142857142, "avg_net_diamond": 251.14285714285714, "total_duration": 290.68333333333334, "avg_duration": 41.52619047619048}, {"week_range": "2025-10-06 \u81f3 2025-10-12", "week_start": "2025-10-06 00:00:00", "days_count": 7, "total_baah_diamond": "1700", "total_net_diamond": "2700", "avg_baah_diamond": 242.85714285714286, "avg_net_diamond": 385.7142857142857, "total_duration": 273.68333333333334, "avg_duration": 39.09761904761905}, {"week_range": "2025-09-29 \u81f3 2025-10-05", "week_start": "2025-09-29 00:00:00", "days_count": 5, "total_baah_diamond": "598", "total_net_diamond": "2928", "avg_baah_diamond": 119.6, "avg_net_diamond": 585.6, "total_duration": 173.73333333333332, "avg_duration": 34.74666666666666}, {"week_range": "2025-09-22 \u81f3 2025-09-28", "week_start": "2025-09-22 00:00:00", "days_count": 7, "total_baah_diamond": "750", "total_net_diamond": "2080", "avg_baah_diamond": 107.14285714285714, "avg_net_diamond": 297.14285714285717, "total_duration": 187.96666666666667, "avg_duration": 26.85238095238095}, {"week_range": "2025-09-15 \u81f3 2025-09-21", "week_start": "2025-09-15 00:00:00", "days_count": 7, "total_baah_diamond": "445", "total_net_diamond": "3545", "avg_baah_diamond": 63.57142857142857, "avg_net_diamond": 506.42857142857144, "total_duration": 171.73333333333335, "avg_duration": 24.533333333333335}, {"week_range": "2025-09-08 \u81f3 2025-09-14", "week_start": "2025-09-08 00:00:00", "days_count": 1, "total_baah_diamond": "50", "total_net_diamond": "50", "avg_baah_diamond": 50.0, "avg_net_diamond": 50.0, "total_duration": 23.3, "avg_duration": 23.3}];
            const monthlyData = [{"month": "2025\u5e7412\u6708", "month_start": "2025-12-01 00:00:00", "days_count": 4, "total_baah_diamond": "1870", "total_net_diamond": "2300", "avg_baah_diamond": 467.5, "avg_net_diamond": 575.0, "total_duration": 129.33333333333331, "avg_duration": 32.33333333333333}, {"month": "2025\u5e7411\u6708", "month_start": "2025-11-01 00:00:00", "days_count": 30, "total_baah_diamond": "6980", "total_net_diamond": "12605", "avg_baah_diamond": 232.66666666666666, "avg_net_diamond": 420.1666666666667, "total_duration": 999.9333333333333, "avg_duration": 33.331111111111106}, {"month": "2025\u5e7410\u6708", "month_start": "2025-10-01 00:00:00", "days_count": 29, "total_baah_diamond": "5256", "total_net_diamond": "11367", "avg_baah_diamond": 181.24137931034483, "avg_net_diamond": 391.9655172413793, "total_duration": 1043.0333333333333, "avg_duration": 35.96666666666667}, {"month": "2025\u5e7409\u6708", "month_start": "2025-09-01 00:00:00", "days_count": 17, "total_baah_diamond": "1525", "total_net_diamond": "5995", "avg_baah_diamond": 89.70588235294117, "avg_net_diamond": 352.6470588235294, "total_duration": 444.6666666666667, "avg_duration": 26.15686274509804}];
            let currentData = [...allData];
            
            // 导航功能
            document.addEventListener('DOMContentLoaded', function() {
                // 导航链接点击事件
                const navLinks = document.querySelectorAll('.nav-link');
                navLinks.forEach(link => {
                    link.addEventListener('click', function(e) {
                        e.preventDefault();
                        
                        // 移除所有active类
                        navLinks.forEach(l => l.classList.remove('active'));
                        document.querySelectorAll('.section').forEach(s => s.classList.remove('active'));
                        
                        // 添加active类到当前链接和对应区域
                        this.classList.add('active');
                        const sectionId = this.getAttribute('data-section');
                        document.getElementById(sectionId).classList.add('active');
                        
                        // 在移动端点击后关闭侧边栏
                        if (window.innerWidth <= 768) {
                            document.getElementById('sidebar').classList.remove('mobile-open');
                        }
                    });
                });
                
                // 移动端菜单切换
                document.getElementById('mobileMenuToggle').addEventListener('click', function() {
                    document.getElementById('sidebar').classList.toggle('mobile-open');
                });
                
                // 点击主内容区域关闭移动端侧边栏
                document.querySelector('.main-content').addEventListener('click', function() {
                    if (window.innerWidth <= 768 && document.getElementById('sidebar').classList.contains('mobile-open')) {
                        document.getElementById('sidebar').classList.remove('mobile-open');
                    }
                });
                
                // 初始化表格排序（确保数据按日期降序显示）
                updateTable();
            });
            
            // 更新按钮激活状态
            function updateActiveButton(selected) {
                document.querySelectorAll('.date-filter button').forEach(btn => {
                    btn.classList.remove('active');
                });
                event.target.classList.add('active');
            }
            
            // 过滤数据并更新显示
            function filterData(range) {
                updateActiveButton(range);
                
                const now = new Date();
                let filteredData;
                
                switch(range) {
                    case 'week':
                        const weekAgo = new Date(now.getTime() - 7 * 24 * 60 * 60 * 1000);
                        filteredData = allData.filter(item => new Date(item.datetime) >= weekAgo);
                        break;
                    case 'month':
                        const monthAgo = new Date(now.getTime() - 30 * 24 * 60 * 60 * 1000);
                        filteredData = allData.filter(item => new Date(item.datetime) >= monthAgo);
                        break;
                    case 'year':
                        const yearAgo = new Date(now.getTime() - 365 * 24 * 60 * 60 * 1000);
                        filteredData = allData.filter(item => new Date(item.datetime) >= yearAgo);
                        break;
                    default:
                        filteredData = [...allData];
                }
                
                // 按日期降序排序
                filteredData.sort((a, b) => new Date(b.datetime) - new Date(a.datetime));
                currentData = filteredData;
                updateTable();
                updateStats();
            }
            
            // 更新表格
            function updateTable() {
                const tableBody = document.getElementById('table-body');
                tableBody.innerHTML = '';
                
                currentData.forEach(item => {
                    const row = document.createElement('tr');
                    
                    // 格式化数字
                    const formatNumber = (num) => {
                        if (num >= 1000) {
                            return num.toLocaleString();
                        }
                        return num;
                    };
                    
                    row.innerHTML = `
                        <td>${item.date}</td>
                        <td>${item.start_diamond}</td>
                        <td>${item.end_diamond}</td>
                        <td class="${item.baah_diamond_gain >= 0 ? 'ba-positive' : 'ba-negative'}">${item.baah_diamond_gain}</td>
                        <td class="${item.net_diamond_gain >= 0 ? 'ba-positive' : 'ba-negative'}">${item.net_diamond_gain}</td>
                        <td>${formatNumber(item.start_credit)}</td>
                        <td>${formatNumber(item.end_credit)}</td>
                        <td class="${item.baah_credit_gain >= 0 ? 'ba-positive' : 'ba-negative'}">${formatNumber(item.baah_credit_gain)}</td>
                        <td class="${item.net_credit_gain >= 0 ? 'ba-positive' : 'ba-negative'}">${formatNumber(item.net_credit_gain)}</td>
                        <td>${item.duration_minutes.toFixed(2)}</td>
                    `;
                    
                    tableBody.appendChild(row);
                });
            }
            
            // 更新统计信息
            function updateStats() {
                if (currentData.length === 0) {
                    document.getElementById('total-days').textContent = '0';
                    document.getElementById('total-baah-diamond').textContent = '0';
                    document.getElementById('total-net-diamond').textContent = '0';
                    document.getElementById('total-baah-credit').textContent = '0';
                    document.getElementById('total-net-credit').textContent = '0';
                    document.getElementById('avg-baah-diamond').textContent = '0.00';
                    document.getElementById('avg-net-diamond').textContent = '0.00';
                    document.getElementById('avg-baah-credit').textContent = '0';
                    document.getElementById('avg-net-credit').textContent = '0';
                    document.getElementById('avg-duration').textContent = '0.00';
                    return;
                }
                
                const totalDays = currentData.length;
                
                const totalBaahDiamond = currentData.reduce((sum, item) => sum + item.baah_diamond_gain, 0);
                const totalNetDiamond = currentData.reduce((sum, item) => sum + item.net_diamond_gain, 0);
                const totalBaahCredit = currentData.reduce((sum, item) => sum + item.baah_credit_gain, 0);
                const totalNetCredit = currentData.reduce((sum, item) => sum + item.net_credit_gain, 0);
                
                const avgBaahDiamond = totalBaahDiamond / totalDays;
                const avgNetDiamond = totalNetDiamond / totalDays;
                const avgBaahCredit = totalBaahCredit / totalDays;
                const avgNetCredit = totalNetCredit / totalDays;
                const avgDuration = currentData.reduce((sum, item) => sum + item.duration_minutes, 0) / totalDays;
                
                // 将信用点转换为万为单位（只取整数部分）
                const totalBaahCreditWan = Math.round(totalBaahCredit / 10000);
                const totalNetCreditWan = Math.round(totalNetCredit / 10000);
                const avgBaahCreditWan = Math.round(avgBaahCredit / 10000);
                const avgNetCreditWan = Math.round(avgNetCredit / 10000);
                
                document.getElementById('total-days').textContent = totalDays;
                document.getElementById('total-baah-diamond').textContent = totalBaahDiamond;
                document.getElementById('total-net-diamond').textContent = totalNetDiamond;
                document.getElementById('total-baah-credit').textContent = totalBaahCreditWan;
                document.getElementById('total-net-credit').textContent = totalNetCreditWan;
                
                document.getElementById('avg-baah-diamond').textContent = avgBaahDiamond.toFixed(2);
                document.getElementById('avg-net-diamond').textContent = avgNetDiamond.toFixed(2);
                document.getElementById('avg-baah-credit').textContent = avgBaahCreditWan;
                document.getElementById('avg-net-credit').textContent = avgNetCreditWan;
                document.getElementById('avg-duration').textContent = avgDuration.toFixed(2);
            }
        </script>
    </body>
    </html>
    